{extend name="layout" /}
{block name="title"}推送设置{/block}
{block name="content"}
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">推送设置</div>
                <div class="layui-card-body" pad15>
                    <div class="layui-form" wid100 lay-filter="">
                        <div class="layui-form-item">
                            <label class="layui-form-label">平台</label>
                            <div class="layui-input-block">
                                <select name="type" lay-verify="required">
                                    <option value="1">个推</option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">app_id</label>
                            <div class="layui-input-block">
                                <input type="text" name="app_id" value="{$value.app_id|default=''}"
                                       class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">app_key</label>
                            <div class="layui-input-block">
                                <input type="text" name="app_key" value="{$value.app_key|default=''}"
                                       class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">master_secret</label>
                            <div class="layui-input-block">
                                <input type="text" name="master_secret" value="{$value.master_secret|default=''}"
                                       class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">app_secret</label>
                            <div class="layui-input-block">
                                <input type="text" name="master_secret" value="{$value.app_secret|default=''}"
                                       class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">app_name</label>
                            <div class="layui-input-block">
                                <input type="text" name="master_secret" value="{$value.app_name|default=''}"
                                       class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <input type="hidden" name="id" value="{$key}">
                                <button class="layui-btn" lay-submit lay-filter="set_system">确认保存</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="module"}'set'{/block}